{include file=$header_start}
{strip}
<script src="{$siteroot}/includes/js/admin/editplan.js" type="text/javascript"></script>
{/strip}
{include file=$header_end}

 <div class="contain">
 
      {include file=$left_menu}
      
      <div class="right_contain">
        
         <div class="heading_box">Edit Plan</div>
         <div class="whitebox">
         <!--Message Div Start-->
          {if $msg}
         <div class="masg_div">
        
          	{$msg}
         
         </div>
         {/if}
         <!--Message Div End-->
         
         <form name="frmaddplan" id="frmaddplan" action="" method="post">
         <input type="hidden" id="plan_id" name="plan_id" value="{$newplanArray.plan_id|return_fetched_value}" />
         <input type="hidden" id="page" name="page" value="{$page}" />
         <div>
          <!--Form Contain start-->
           
           <div class="form_fieldbox">
             <dl>
              <dt>Plan name: <span class="error">*</span></dt>
              <dd><input type="text" class="input" name="name" id="name" value="{$newplanArray.name|return_fetched_value}"/></dd>
              <div class="clear"></div>
             </dl>
             <dl>
              <dt>Months: <span class="error">*</span></dt>
              <dd><input type="text" class="input" name="month" id="month" value="{$newplanArray.month|return_fetched_value}"/></dd>
              <div class="clear"></div>
            </dl>
                       	
            <dl>
              <dt>Leads: <span class="error">*</span></dt>
              <dd><input type="text" class="input" name="leads" id="leads" value="{$newplanArray.leads|return_fetched_value}"/></dd>
              <div class="clear"></div>
            </dl>
          <!--  <dl>
              <dt>Free Leads: <span class="error">*</span></dt>
              <dd><input type="text" class="input" name="freeleads" id="freeleads" value="{$newplanArray.freeleads|return_fetched_value}"/></dd>
              <div class="clear"></div>
            </dl>-->
             
            <dl>
              <dt>Price: <span class="error">*</span></dt>
              <dd> $<input type="text" class="input" name="price" id="price" value="{$newplanArray.price|return_fetched_value}"/></dd>
              <div class="clear"></div>
            </dl>
            
            
            </div>
            
            <!--Form Contain end--> 
          
           <!--Button here start-->
           <div>
            <span><input type="submit" class="admin_btn" value="Submit" name="editprice_btn" id="editprice_btn" /></span>
            <span><input type="button" class="admin_btn" value="Cancel" onclick="window.location='{$siteroot}/admin/home.php?q=plan&page={$smarty.get.page}';"/></span>
           </div>
            <!--Button here end-->
  
         </div>
         </form>
         
         </div>
        </div>
      
      
      <!--right_contain end-->
      <div class="clear"></div>
    </div>
    
{include file=$footer}